﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Bokning.aspx.cs" Inherits="StockholmsStad.Web.UI.Bokning"
    MasterPageFile="~/templates/Site.Master" UICulture="sv-SE" Culture="sv-SE" %>

<%@ Register Src="~/Controls/Bokning/Bokning1_ChooseDate.ascx" TagName="Bokning1"
    TagPrefix="StockholmsStad" %>
<%@ Register Src="~/Controls/Bokning/Bokning2_ProceedWithRegistration.ascx" TagName="Bokning2"
    TagPrefix="StockholmsStad" %>
<%@ Register Src="~/Controls/Bokning/Bokning3_Confirm.ascx" TagName="Bokning3" TagPrefix="StockholmsStad" %>
<asp:Content ContentPlaceHolderID="mainContentPlaceHolder" ID="contentRegistrering"
    runat="server">
    <div id="content">
        <asp:MultiView ID="mvwBooking" ActiveViewIndex="0" runat="server">
            <asp:View ID="viwChooseDate" runat="server">
                <asp:Panel ID="Panel1" runat="Server" DefaultButton="btnChooseDateNext">
                    <StockholmsStad:Bokning1 ID="BokaTid1" runat="server" />
                    <div class="right button-panel">
                        <asp:Button ID="btnChooseDateNext" runat="Server" Text="Nästa >" OnClick="btnChooseDateNext_Click" />
                    </div>
                </asp:Panel>
            </asp:View>
            <asp:View ID="viwProceedWithRegistration" runat="server">
                <asp:Panel ID="Panel2" runat="Server">
                    <StockholmsStad:Bokning2 ID="BokaTid2" runat="server" />
                    <div class="right button-panel">
                        <asp:Button ID="btnProceedPrev" runat="Server" Text="< Tillbaka" CausesValidation="false"
                            CommandName="PrevView" />
                    </div>
                </asp:Panel>
            </asp:View>
            <asp:View ID="viwConfirm" runat="server">
                <asp:Panel ID="Panel3" runat="Server" DefaultButton="btnConfirmNext">
                    <StockholmsStad:Bokning3 ID="BokaTid3" runat="server" />
                    <div class="right button-panel">
                        <asp:Button CssClass="left-element" ID="btnConfirmPrev" runat="Server" Text="< Tillbaka" CausesValidation="false"
                            OnClick="btnConfirmPrev_Click" />
                        <asp:Button ID="btnConfirmNext" runat="Server" Text="Bekräfta" 
                            OnClick="btnConfirmNext_Click" />
                    </div>
                </asp:Panel>
            </asp:View>
        </asp:MultiView>
    </div>
</asp:Content>
